package com.baseproject.datasource.remote;

import java.util.Map;

import okhttp3.ResponseBody;
import rx.Observable;

/**
 * Created by hp on 2017/5/12.
 */

public interface BaseRemoteStrategy {

    Observable<ResponseBody> getList(String url, String token, Map<String, String> queryParams);

    Observable<ResponseBody> downloadFile(String url);

    Observable<ResponseBody>  httpPost(String url, Map<String, String> params, String token) ;
}
